package com.windy.kafka.trace.consumer;

import org.apache.kafka.clients.consumer.ConsumerRecord;

/**
 * Created by liyufeng on 2022/6/3
 */
public interface MessageConsumerProcessor<K, V> {

    void beforeProcessMessage(ConsumerRecord<K, V> record);

    void afterProcessorMessage(ConsumerRecord<K, V> record);
}
